package Vue;

import org.newdawn.slick.*;
/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */

/**
 *
 * @author Ivelios
 */
public class BandeauEst implements IElementGraphique{

    int ecartHaut;
    int ecartBas;
    int width;

    public BandeauEst(int ecartHaut, int ecartBas, int width) {
        this.ecartHaut = ecartHaut;
        this.ecartBas = ecartBas;
        this.width = width;
    }


    public void init(GameContainer container) throws SlickException {


    }

    public void render(GameContainer gc, Graphics g) {
        g.setColor(Color.blue);
        g.fillRect(gc.getWidth()-width, ecartHaut, width, gc.getHeight()-ecartHaut-ecartBas);
    }


    public void update(GameContainer gc, int delta) {



    }
}
